package com.jdrx.ocp.beans.constans;

/**
 * 事件行为
 */
public enum EventActionEnum {
    MODIDY("修改", "modify"), CREATE("新增", "create"), DELETE("删除", "delete"),LOGOUT("退出","logout");

    private String name;
    private String action;

    EventActionEnum(String name, String action) {
        this.name = name;
        this.action = action;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
}
